package com.zpphis.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zpp
 * @since 2022-11-22
 */
@TableName("t_user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 登录名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 真实姓名
     */
    private String realName;

    /**
     * 用户类别
     */
    private Integer userTypeId;

    /**
     * 医生职称ID
     */
    private Integer docTitleId;

    /**
     * 是否参与排班
     */
    private String isScheduling;

    /**
     * 所在科室ID
     */
    private Integer deptId;

    /**
     * 挂号级别ID
     */
    private Integer registLeId;

    /**
     * 删除标记
     */
    private Integer delMark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }
    public Integer getUserTypeId() {
        return userTypeId;
    }

    public void setUserTypeId(Integer userTypeId) {
        this.userTypeId = userTypeId;
    }
    public Integer getDocTitleId() {
        return docTitleId;
    }

    public void setDocTitleId(Integer docTitleId) {
        this.docTitleId = docTitleId;
    }
    public String getIsScheduling() {
        return isScheduling;
    }

    public void setIsScheduling(String isScheduling) {
        this.isScheduling = isScheduling;
    }
    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }
    public Integer getRegistLeId() {
        return registLeId;
    }

    public void setRegistLeId(Integer registLeId) {
        this.registLeId = registLeId;
    }
    public Integer getDelMark() {
        return delMark;
    }

    public void setDelMark(Integer delMark) {
        this.delMark = delMark;
    }

    @Override
    public String toString() {
        return "User{" +
            "id=" + id +
            ", username=" + username +
            ", password=" + password +
            ", realName=" + realName +
            ", userTypeId=" + userTypeId +
            ", docTitleId=" + docTitleId +
            ", isScheduling=" + isScheduling +
            ", deptId=" + deptId +
            ", registLeId=" + registLeId +
            ", delMark=" + delMark +
        "}";
    }
}
